﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MODEL;
using DAL;
using System.Data;
namespace BLL
{
    public class BllRuKu
    {
        public int Insert(RuKu r)
        {
           return new DalRuKu().Insert(r);
        }
        public List<RuKu> GetListByPy(string py)
        {
            return new DalRuKu().GetListByPy(py);
        }
        public DataTable GetList(string py, DateTime startDate, DateTime endDate)
        {
            return new DalRuKu().GetList(py, startDate, endDate);
        }

        public List<RuKu> GetAllList()
        {
            return new DalRuKu().GetAllList();
        }

        public int Update(RuKu r)
        {
            return new DalRuKu().Update(r);
        }

        public List<RuKu> GetObjectByDicId(int dicid,DateTime date)
        {
            return new DalRuKu().GetObjectByDicId(dicid,date);
        }
    }
}
